/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.programs.program09.impl;

import za.ac.cput.pretorius.programs.program09.Circle;

/**
 *
 * @author griddy
 */
public class CircleImpl implements Circle{
    
    private double radius;

    @Override
    public double calcCircumference() {
        return Math.round(radius*(2*Math.PI) );
    }

    @Override
    public void setRadius(double radius) {
        this.radius = radius;
    }
    
}
